package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.UserDailyData;
import com.yanqu.road.logic.bussiness.DaoHelper;

public class DailyBussiness {
    public static UserDailyData getUserDailyData(long userId) {
        return DaoHelper.getUserDailyDataDaoImpl().getUserDailyData(userId);
    }

    public static boolean addUserDailyData(UserDailyData data) {
        return DaoHelper.getUserDailyDataDaoImpl().add(data);
    }

    public static boolean updateUserDailyData(UserDailyData data) {
        return DaoHelper.getUserDailyDataDaoImpl().update(data);
    }
}
